import request from "../utils/request";

export function login(user) {
    return request({
        url: "login",
        method: 'post',
        data: {
            ...user
        }
    })
}

export function captcha() {
    return request({
        url: "captcha",
        method: 'get',
    })
}


export function systemReset() {
    return request({
        url: "system/reset",
        method: 'post',
    })
}

export function systemResetProgress() {
    return request({
        url: "system/resetProgress",
        method: 'post',
    })
}

